#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Jun 25 10:19:14 2018

@author: chenliheng
"""

# 计算2点之间的距离

x1,y1,x2,y2 = 3,4,-8,12 # 变量批量赋值

dest = ((x1-x2)**2 + (y1-y2)**2)**0.5 # **0.5 代表开平方根运算

print(dest)